package com.ncepu.clubmanagement.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class AffairWithUrlResource {

    private Affair affair;
    private List<String> urls;

//    public AffairWithUrlResource(Affair affair, String urlString) {
//        this.affair = affair;
//        this.url = new ArrayList<>(); // 创建一个新的ArrayList来存储URLs
//        this.url.add(urlString); // 将传入的String参数添加到List中
//    }

}
